package com.example.springboot_demo01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_student")
public class Student {

    @TableId(type= IdType.AUTO)
    private int id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("学号")
    private String no;

    @ApiModelProperty("性别")
    private String gender;
}
